// pages/user/login/login.js
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },
  cancelback:function(){
    wx.switchTab({
      url: '/pages/user/user-main/main',
    })
  },
  registered:function(){
    wx.redirectTo({
      url: '/pages/user/registered/registered',
    })
  },
  regMaster:function(){
    wx.redirectTo({
      url: '/pages/user/regMaster/regMaster',
    })
  }
})